const Mock = require('mockjs')

module.exports = function (req) {
  const result = Mock.mock({
    totalNum:72,
    lateNum:23,
    humanNum:49,
    suggest:"@cparagraph()",
    comment:"@cparagraph()",
    "teacherList|1-4":[{
      id:"@id()",
      paragraph: "@cparagraph()",
      score:0
    }],
    "studentList|1-4":[{
      id:"@id()",
      paragraph: "@cparagraph()",
      "level|1":["A","B","C"]
    }]
})
  return {
    "result": result,
    "error": null,
    "success": true,
    "code": "10000",
    "datetime": Date.now(),
  }
};


// module.exports = function (req) {
//   const result = Mock.mock({
//     'list|1-10': [{
//         'id|+1': 1,

//     }]
// })
